import http from "./index.js";


export function getData(){
    return http(
        '/home/student'
    ).then(function (res) {
        console.log(res)
    })
}

export function putData(data){
    http.put('/home/student',{
        data
    }).then()
}

export function postData(data){
    http.post('/home/student',{
        data
    }).then()
}
